import { post } from '@/utils/request';

interface LoginArgs {
  nickname: string;
  phone: string;
  authToken: string;
}

export const login = (args: LoginArgs) => post('/user/login', args);
